/**
 * Application is the class responsible of rendering the index page.
 * 
 * @author Eric LEON
 * @version 1.0.0
 */
package controllers;

import models.Module;
import models.Repository;
import play.mvc.With;

@With(Secure.class)
public class Application extends RepoController {

	/**
	 * Renders the main application page.
	 */
	public static void index() {

   		keepLayout();
		
    	renderArgs.put("_modules", Module.list());
    	renderArgs.put("_repositories", Repository.list());
    	
        render();
    }
}

